<div class="zs-body" data-ng-init="formInit('gzykcz', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{id:0}
    }) && loadData('gzykcz');setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">固定资产</a>
            <i class="right-arr"></i>
            <a href="javascript:;">油卡充值</a>
        </div>
        <div class="option">
            <input type="button" class="zs-btn orange" value="新建" 
                ng-click="addRow('gzykcz') && openWindow('edit');"/>
            <input type="button" class="zs-btn orange" value="编辑" 
                ng-click="editRow('gzykcz', gzykcz.sRows[0]) && openWindow('edit')"/>
            <input type="button" class="zs-btn orange" value="删除 "
                ng-click="delEntitys('gzykcz')"/>
        </div>
    </div>
    <div class="zs-content" style="position:unset">
        <div class="zs-nice-tab idTabs">
			<div class="tool item" style="margin-left:6px;">
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="唯一编号" ng-model="gzykcz.queryObject['id']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="车辆信息(与车辆档案挂接)" ng-model="gzykcz.queryObject['sclxx']"/>
                </span>
				<!--<span class="search-warpper">
                    <ag-Datebox id='qi_dczsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzykcz.queryObject['dczsj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="充值地点" ng-model="gzykcz.queryObject['sczdd']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="充值人" ng-model="gzykcz.queryObject['sczr']"/>
                </span>
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="联系方式" ng-model="gzykcz.queryObject['slxfs']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="充值金额" ng-model="gzykcz.queryObject['sczje']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="电子发票" ng-model="gzykcz.queryObject['sdzfp']"/>
                </span>-->
            </div>
            <div class="operation item">
                <a class="ope-1" ng-click="loadData('gzykcz')"></a>
                <a class="ope-2"></a>
            </div>
            <div class="switch">
                
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table>
                            <thead>
                                <tr>
                                    <th>
                                        <input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('gzykcz','allCheckbox');" />
                                    </th>
									<!--<th>唯一编号</th>-->
									<th>车辆信息(与车辆档案挂接)</th>
									<th>充值时间</th>
									<th>充值地点</th>
									<th>充值人</th>
									<th>联系方式</th>
									<th>充值金额</th>
									<!--<th>电子发票</th>-->
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gzykcz.datas">
                                    <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('gzykcz',r);"
                                            ng-model="r.selected" />
                                    </td>
									<!--  车辆信息(与车辆档案挂接) -->
            						<td>
                                        <a ng-click="editRow('gzykcz',r) && openWindow('edit');">
                                            <label ng-bind="r.sclxx"></label>
                                        </a>
                                   </td>
									<!--  充值时间 -->
								   <td>
                                        <a ng-click="editRow('gzykcz',r) && openWindow('edit');">
                                            <label ng-bind="r.dczsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  充值地点 -->
            						<td>
                                        <a ng-click="editRow('gzykcz',r) && openWindow('edit');">
                                            <label ng-bind="r.sczdd"></label>
                                        </a>
                                   </td>
									<!--  充值人 -->
            						<td>
                                        <a ng-click="editRow('gzykcz',r) && openWindow('edit');">
                                            <label ng-bind="r.sczr"></label>
                                        </a>
                                   </td>
									<!--  联系方式 -->
            						<td>
                                        <a ng-click="editRow('gzykcz',r) && openWindow('edit');">
                                            <label ng-bind="r.slxfs"></label>
                                        </a>
                                   </td>
									<!--  充值金额 -->
            						<td>
                                        <a ng-click="editRow('gzykcz',r) && openWindow('edit');">
                                            <label ng-bind="r.sczje"></label>
                                        </a>
                                  </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gzykcz'></ag-Page>
                </div>
            </div>
        </div>

        <div ag-Window id="edit" title="油卡充值编辑" width='560px' height='286px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          				<!--	<tr>
                                <td class="text" width="20%">唯一编号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzykcz.editRow.id" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">车辆信息(与车辆档案挂接)</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzykcz.editRow.sclxx" class="zs-input" />
                                </td>
                           <!-- </tr>
						   <tr>-->
                                <td class="text" width="20%">充值时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dczsj'  showcurday='gzykcz.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzykcz.editRow.dczsj" >
							   		</ag-Datebox>
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">充值地点</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzykcz.editRow.sczdd" class="zs-input" />
                                </td>
                           <!-- </tr>
          					<tr>-->
                                <td class="text" width="20%">充值人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzykcz.editRow.sczr" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">联系方式</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzykcz.editRow.slxfs" class="zs-input" />
                                </td>
                           <!-- </tr>
          					<tr>-->
                                <td class="text" width="20%">充值金额</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzykcz.editRow.sczje" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">电子发票</td>
                                <td class="left" width="30%" colspan="3">
                                	<ag-Upload ng-model="gzykcz.editRow.sdzfp" 
				                        para="{}"></ag-Upload>
                                	<!--<input type="text" ng-model="gzykcz.editRow.sdzfp" class="zs-input" />-->
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                    <input type="button" name="ok" value="保存" class="zs-btn c-red"
                                        ng-click="formValidate(form) && save('gzykcz', gzykcz.editRow, saveCloseWindow)"/>
                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
                                        ng-click="closeWindow('edit')" />
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>